import { createRouter, createWebHistory } from "vue-router";
import Home from "@/views/Home.vue";
import Upload from "@/views/Upload.vue"
import Test from "@/views/Test.vue"
import RealTime from "@/views/RealTime.vue"
import Settings from "@/views/Settings.vue"
import Translation from "@/views/Translation.vue"
const routes = [
        {
          path:'/',
         component:Home
        },
        {
          path:'/upload',
          name:'Upload',
          component:Upload
        },
        {
          path:'/realtime',
          name:'RealTime',
          component:RealTime
        },
        {
          path:'/settings',
          name:'Settings',
          component:Settings
        },
        {
          path:'/translation',
          name:'Translation',
          component:Translation
        }


]

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;